//
//  AudioPlayerManager.m
//  yjw-winner
//
//  Created by 王春辉 on 2018/9/14.
//  Copyright © 2018年 Shanghai decade financial information service co., LTD. All rights reserved.
//

#import "AudioPlayerManager.h"

@interface AudioPlayerManager () {
    View_AudioPlayer *_playerView;
}

@end
@implementation AudioPlayerManager
static AudioPlayerManager *_manager = nil;
+ (AudioPlayerManager *)manager {
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _manager = [[AudioPlayerManager alloc] init];
    });
    return _manager;
}
- (instancetype)init {
    if (self = [super init]) {
        _playerView = [View_AudioPlayer audioPlayerView];
    }
    return self;
}
- (View_AudioPlayer *)playerView {
    return _playerView;
}
@end
